package db.parking.beans;

import java.io.Serializable;
import java.util.Date;
import java.sql.Timestamp;

/**
 * Subscriber entity
 * @author G15
 *
 */
public class Subscriber implements Serializable, Comparable<Orders>   {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int subID;
	public int getSubID() {
		return subID;
	}
	public void setSubID(int subID) {
		this.subID = subID;
	}
	public String getCusID() {
		return cusID;
	}
	public void setCusID(String cusID) {
		this.cusID = cusID;
	}
	public Subscriber(String cusID, String carNo,
			Timestamp subStart, String type, int lotNo, Timestamp leaveTime,
			Date tmp, Timestamp lastLogin, int status) {
		super();
		this.cusID = cusID;
		this.carNo = carNo;
		this.subStart = subStart;
		this.type = type;
		this.lotNo = lotNo;
		this.leaveTime = leaveTime;
		this.tmp = tmp;
		this.lastLogin = lastLogin;
		this.status = status;
	}
	public Subscriber()
	{}
	
	public String getCarNo() {
		return carNo;
	}
	public void setCarNo(String carNo) {
		this.carNo = carNo;
	}
	public Timestamp getSubStart() {
		return subStart;
	}
	public void setSubStart(Timestamp subStart) {
		this.subStart = subStart;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getLotNo() {
		return lotNo;
	}
	public void setLotNo(int lotNo) {
		this.lotNo = lotNo;
	}
	public Timestamp getLeaveTime() {
		return leaveTime;
	}
	public void setLeaveTime(Timestamp leaveTime) {
		this.leaveTime = leaveTime;
	}
	public Date getTmp() {
		return tmp;
	}
	public void setTmp(Date tmp) {
		this.tmp = tmp;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Timestamp getLastLogin() {
		return lastLogin;
	}
	public void setLastLogin(Timestamp lastLogin) {
		this.lastLogin = lastLogin;
	}
	private String cusID;
	private String carNo;
	private Timestamp subStart;
	private String type;
	private int lotNo;
	private Timestamp leaveTime;
	private Date tmp;
	private Timestamp lastLogin;
	private int status;
	@Override
	public int compareTo(Orders o) {
		// TODO Auto-generated method stub
		return 0;
	}
}
